export type newsItem = {
  title: string, //新闻标题
  account: string, //作者名字
  releaseTime: number | null, //发布时间
  content: string, //内容
  newsImg: string[], //新闻封面
  categoryId: number, //分类id
  status: number//0是发布待审核，-1是草稿,1是上架，2是下架
  newsId?: number
}
export type fileItem = {
  tempFiles: string[],
  tempFilePaths: string[]
}
export type info = {
  viewCount: number
  likeCount: number
  favoriteCount: number
  clickLike: boolean
  clickFavorite: boolean
  newsId: number
  releaseTime: string
}
export type hotItem = {
  newsId: number,
  author: string,
  newsImgArr: []
  title: string,
  hot: number
}
